package launch;

/**
 *
 * @author Aluno
 */
public class LaunchConfig {

    // Global Variables
    public static String name = "Aspirator";
    public static String version = "1.0";
    public static String[] creators = {"Pedro Silva Moreira"}; 

    // Name
    public static String getName() {
        return name;
    }

    public static void setName(String name) {
        LaunchConfig.name = name;
    }
    
    // Version
    public static String getVersion() {
        return version;
    }

    public static void setVersion(String version) {
        LaunchConfig.version = version;
    }
    
    // Creators

    public static String[] getCreators() {
        return creators;
    }

    public static void setCreators(String[] creators) {
        LaunchConfig.creators = creators;
    }
    public static String getCreatorsCompact() {
        String ret = "";
        for(String i : getCreators())
            ret += i.split(" ")[0];
        return ret;
    }
}
